package com.ruoyi.erp.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 外派项目PO对象 staffing_po
 * 
 * @author sauger
 * @date 2022-03-22
 */
public class StaffingPo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Integer id;

    /** 项目Id */
    @Excel(name = "项目Id")
    private Integer projectId;

    /** 项目Id */
    @Excel(name = "项目名称", type = Excel.Type.EXPORT)
    private String projectName;

    @Excel(name = "名称")
    private String title;

    /** 金额 */
    @Excel(name = "金额")
    private BigDecimal orderAmount;

    /** 已结束 */
    @Excel(name = "已结束")
    private String isFinish;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startDate;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endDate;

    /** 已结算金额 */
    @Excel(name = "已结算金额")
    private BigDecimal billedAmount;

    @Excel(name = "作废金额", type = Excel.Type.EXPORT)
    private BigDecimal abortAmount;

    /** 已付金额 */
    @Excel(name = "已付金额")
    private BigDecimal payedAmount;

    /** 备注 */
    private String description;

    private Integer customerId;

    public Integer getCustomerId() {
        return customerId;
    }

    public void setCustomerId(Integer customerId) {
        this.customerId = customerId;
    }

    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setProjectId(Integer projectId) 
    {
        this.projectId = projectId;
    }

    public Integer getProjectId() 
    {
        return projectId;
    }
    public void setOrderAmount(BigDecimal orderAmount) 
    {
        this.orderAmount = orderAmount;
    }

    public BigDecimal getOrderAmount() 
    {
        return orderAmount;
    }
    public void setIsFinish(String isFinish) 
    {
        this.isFinish = isFinish;
    }

    public String getIsFinish() 
    {
        return isFinish;
    }
    public void setStartDate(Date startDate) 
    {
        this.startDate = startDate;
    }

    public Date getStartDate() 
    {
        return startDate;
    }
    public void setEndDate(Date endDate) 
    {
        this.endDate = endDate;
    }

    public Date getEndDate() 
    {
        return endDate;
    }
    public void setBilledAmount(BigDecimal billedAmount) 
    {
        this.billedAmount = billedAmount;
    }

    public BigDecimal getBilledAmount() 
    {
        return billedAmount;
    }
    public void setPayedAmount(BigDecimal payedAmount) 
    {
        this.payedAmount = payedAmount;
    }

    public BigDecimal getPayedAmount() 
    {
        return payedAmount;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public BigDecimal getAbortAmount() {
        return abortAmount;
    }

    public void setAbortAmount(BigDecimal abortAmount) {
        this.abortAmount = abortAmount;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("projectId", getProjectId())
            .append("projectName", getProjectName())
            .append("title", getTitle())
            .append("orderAmount", getOrderAmount())
            .append("isFinish", getIsFinish())
            .append("startDate", getStartDate())
            .append("endDate", getEndDate())
            .append("billedAmount", getBilledAmount())
            .append("payedAmount", getPayedAmount())
            .append("description", getDescription())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
